package src.com.zt.demo.interface_extends_demo.object_interface;

public class Chicken extends Bird {
    public Chicken(String feather) {
        super(feather);
        System.out.println("这是一个鸡类");
    }

    @Override
    public void move() {
        System.out.println("跑");
    }

    @Override
    public void eat() {
        System.out.println("小鸡吃米");
    }
}
